package cn.xinfei.xdecision.common.utils.constant;

/**
 * redis常量
 * @since 2023-03-30
 */
public class RedisConstant {
    private RedisConstant() {
    }

    /**
     * 系统执行时间（5秒）
     */
    public static final Long FIVE_SECOND = 5L;

    /**
     * 系统执行时间（一天）
     */
    public static final Long ONE_DAY = 1L;

    /**
     * 风控基础key + 模块key + 子模块key + 自定义key
     */
    public static final String RISK_ENGINE_BASIC_INFO_KEY = "risk:engine:basic:{0}:{1}:{2}";

    /**
     * 组件中心
     */
    public static final String COMPONENT_KEY = "component";

    /**
     * 决策树
     */
    public static final String DECISION_TABLE = "decisionTable";

    /**
     * 决策表
     */
    public static final String DECISION_TREE = "decisionTree";

    /**
     * 评分卡
     */
    public static final String SCORE_CARD = "scoreCard";

    /**
     * 决策流
     */
    public static final String DECISION_FLOW = "decisionFlow";

    public static final String NODE_UPDATE = "nodeUpdate";

    public static final String DECISION_FLOW_EDIT = "decisionFlowEdit";

    public static final String DECISION_FLOW_COPY = "decisionFlowCopy";


}
